package com.example.wm.SanWar.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@TableName("帖子评论")
public class CommunicationEntity {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("帖子id")
    private Integer noteid;
    @TableField("评论时间")
    private String commtime;
    @TableField("用户名")
    private String name;
    @TableField("头像")
    private String imgurlhead;
    @TableField("用户id")
    private Integer userid;
    @TableField("文本")
    private String text;
    @TableField("图片")
    private String imgurl;
    @TableField("评论数量")
    private Integer commnumber;
    @TableField("点赞数量")
    private Integer thumbsupnum;
    @TableField("父级名")
    private String parents;
    @TableField("父级id")
    private Integer parentsid;
    @TableField("类型")
    private String type;



}
